#include "widget.h"
#include "ui_widget.h"
#include<QIcon>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    //QIcon icon("E:/chen_luo/icon.png");
//    QIcon icon(":/icon.png");
//    setWindowIcon(icon);
    setWindowIcon(QIcon(":/icon.png"));
}

Widget::~Widget()
{
    delete ui;
}

